package org.jivesoftware.smack.packet;

public class StreamError
{
  public static final String NAMESPACE = "urn:ietf:params:xml:ns:xmpp-streams";
  private String code;
  private String text;

  public StreamError(String paramString)
  {
    this.code = paramString;
  }

  public StreamError(String paramString1, String paramString2)
  {
    this(paramString1);
    this.text = paramString2;
  }

  public String getCode()
  {
    return this.code;
  }

  public String getText()
  {
    return this.text;
  }

  public String toString()
  {
    StringBuilder localStringBuilder = new StringBuilder();
    localStringBuilder.append("stream:error (").append(this.code).append(")");
    if (this.text != null)
      localStringBuilder.append(" text: ").append(this.text);
    return localStringBuilder.toString();
  }
}

/* Location:           D:\hygieia\userclient\common\libs\easemobchat_2.1.8.jar
 * Qualified Name:     org.jivesoftware.smack.packet.StreamError
 * JD-Core Version:    0.6.1
 */